import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import statistics from './modules/statistics'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    name:''
  },
  getters: {
  },
  mutations: {
    getname(state, data) {
      state.name=data
    }
  },
  actions: {
  },
  modules: {
    user,
    statistics
  }
})
